package com.aspose.cells;

import java.util.ArrayList;
import java.util.Iterator;

class zri implements Iterator {
   private ArrayList a;
   private int b = -1;

   public zri(ArrayList var1) {
      this.a = var1;
   }

   public boolean hasNext() {
      ++this.b;
      return this.b < this.a.size();
   }

   public Object next() {
      try {
         return this.a.get(this.b);
      } catch (IndexOutOfBoundsException var2) {
         throw new IllegalStateException();
      }
   }

   public void remove() {
      throw new UnsupportedOperationException();
   }
}
